//
//  UIView+Inspectable.h
//  ZhouDao
//
//  Created by zengweihuan on 2018/6/4.
//  Copyright © 2018年 hyj. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Inspectable)
@property(nonatomic,assign) IBInspectable CGFloat cornerRadius;
@property(nonatomic,assign) IBInspectable CGFloat borderWidth;
@property(nonatomic,assign) IBInspectable UIColor *borderColor;

/**
 顶部描边线宽度
 */
@property (nonatomic)  CGFloat topBorderWidth;


/**
 顶部描边线左间隙
 */
@property (nonatomic)  CGFloat topBorderLeftPadding;


/**
 顶部描边线右间隙
 */
@property (nonatomic)  CGFloat topBorderRightPadding;


/**
 顶部描边线颜色
 */
@property (nonatomic, strong)  UIColor* topBorderColor;

#pragma mark 底部描边


/**
 底部描边宽度
 */
@property (nonatomic)  CGFloat bottomBorderWidth;

/**
 底部描边左间隙
 */
@property (nonatomic)  CGFloat bottomBorderLeftPadding;

/**
 底部描边右间隙
 */
@property (nonatomic)  CGFloat bottomBorderRightPadding;

/**
 底部描边颜色
 */
@property (nonatomic, strong)  UIColor* bottomBorderColor;

#pragma mark 左描边


/**
 左描边线宽度
 */
@property (nonatomic)  CGFloat leftBorderWidth;

/**
 左描边线顶部间隙
 */
@property (nonatomic)  CGFloat leftBorderTopPadding;

/**
 左描边线底部间隙
 */
@property (nonatomic)  CGFloat leftBorderBottomPading;

/**
 左描边线颜色
 */
@property (nonatomic, strong)  UIColor* leftBorderColor;

#pragma mark 右描边


/**
 右描边线宽度
 */
@property (nonatomic)  CGFloat rightBorderWidth;

/**
 右描边顶部间隙
 */
@property (nonatomic)  CGFloat rightBorderTopPadding;


/**
 右描边底部间隙
 */
@property (nonatomic)  CGFloat rightBorderBottomPadding;


/**
 右描边颜色
 */
@property (nonatomic, strong)  UIColor* rightBorderColor;

-(void)addBorderTop;
-(void)addBorderBottom;
-(void)addBorderLeft;
-(void)addBorderRight;

@end
